﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Animation;
using System.Windows;

namespace CrazyClient
{
    class DoubleStopAnimation : DoubleAnimation
    {
        public DoubleStopAnimation()
            : base()
        {
            //   this.FillBehavior = FillBehavior.Stop;
            this.Completed += new EventHandler(DoubleStopAnimation_Completed);
        }

        void DoubleStopAnimation_Completed(object sender, EventArgs e)
        {
            DependencyObject d = Storyboard.GetTarget(this);
            string t = Storyboard.GetTargetName(this);
            PropertyPath p = Storyboard.GetTargetProperty(this);

            //  ((UIElement)sender).BeginAnimation(this.a, null);
        }
    }
}
